<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> 
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<html:html>
<head>
	<META http-equiv=Content-Type content="text/html; charset=utf-8">
	<LINK href="../styles/sciencee.css"  type=text/css rel=stylesheet>
	<LINK href="xtree.css"  type=text/css rel=stylesheet>
	<style type="text/css"></style>
	<title>CGProject</title>
	<html:base/>
</head>
<body>
	<table border="0" width="100%" cellspacing="1" id="table6" height="25" >
		
		<tr bgcolor="EEF2F7">
			<td height=15 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"><b><bean:message key="taskname"/></b></td>
			<td height=15 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"><b><bean:message key="producer"/></b></td>
			<td height=15 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"><b><bean:message key="task.status"/></b></td>
			<td height=15 width=18% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"><b><bean:message key="taskdes"/></b></td>
		</tr>

		<logic:iterate name="Make" property="tasks" id="element">
		<tr>
			<td height=25 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0">
			<a target="_blank" href ="taskDetail.do?TaskID=<bean:write name="element" property="taskId"/>">
			<u><bean:write name="element" property="taskName"/></u></a></td>
			<td height=25 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"> <logic:notEmpty name="element" property="reguser"><bean:write name="element" property="reguser.regName"/></logic:notEmpty></td>
			<td height=25 width=10% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0">
		<script language=javascript>
			var s=top.changeColor("<bean:write name="element" property="status.statusDisplay"/>");
			document.write(s);
		</script>
		</td>
			<td height=25 width=18% style=" border-right:1px dotted #C0C0C0;border-bottom:1px dotted #C0C0C0"><bean:write name="element" property="taskDescription"/></td>
		</tr>
		</logic:iterate>





</body>
</html:html>